package net.hn.hnms.biz.activiti.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 智呈物联 pan'sx
 * 2023/2/7 15:59
 * 1.0 version
 */
@Data
@ApiModel("我发起的流程实例")
public class MyStartProcessDto {

    @ApiModelProperty("流程实例id")
    private String processInstanceId;

    @ApiModelProperty("流程名称")
    private String processName;

    @ApiModelProperty("开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private Date endTime;

    @ApiModelProperty("当前任务节点")
    private String currentTask;

    @ApiModelProperty("当前任务节点id")
    private String currentTaskId;

    @ApiModelProperty("流程状态")
    private String processStatus;

    @ApiModelProperty("如果是已作废，请前端同事显示作废原因")
    private String deleteReason;

    @ApiModelProperty("发起人")
    private String startUser;
    @ApiModelProperty("发起人姓名")
    private String startUserName;
}
